-- GENERATED SPELL FOR [Frostsaber Huntress] --


function spell0_7433(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(15716,pUnit)
pUnit:RegisterEvent('Sorts_7433', 525, 1)
end

function spell1_7433(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7433', 15000, 1)
end

function Sorts_7433(pUnit, Event)
local choix_sorts_7433 = math.random(0, 1)
if choix_sorts_7433 == 0 then
pUnit:RegisterEvent('spell0_7433', 1, 1)
end
if choix_sorts_7433 == 1 then
pUnit:RegisterEvent('spell1_7433', 1, 1)
end
end

function mob7433_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7433', math.random(1500, 3000), 1)
end

function mob7433_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7433_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7433_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7433, 1, 'mob7433_Action')
RegisterUnitEvent(7433, 2, 'mob7433_Leave')
RegisterUnitEvent(7433, 3, 'mob7433_Kill')
RegisterUnitEvent(7433, 4, 'mob7433_Die')
